SftTabs/NET 6.0

MakeNaturalSize Method, SftTabs Class

Softel vdm, Inc.

Resizes the control (without client area) to its optimal height or width.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Public Sub MakeNaturalSize()

C#   

public void MakeNaturalSize();

C++   

public: void MakeNaturalSize();

Comments

The MakeNaturalSize method resizes the control (without client area) to its optimal height or width.

If screen real-estate needs to be preserved, this method changes a horizontal tab control's height to its optimal height. A vertically aligned tab control is resized in width.

This method can only be used if the tab control doesn't have a client area (see ClientArea).

The NaturalSize property can be used to determine the optimal size without resizing the control.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com